import Vue from 'vue'
import Router from 'vue-router'
import olmap from '@/components/olmap'
import olfromgeo from '@/components/olfromgeo'
import olfilter from '@/components/olfilter'
import oldraw from '@/components/oldraw'
import select from '@/components/select'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'olmap',
      component: olmap
    },
    {
      path: '/demo-geo',
      name: 'olfromgeo',
      component: olfromgeo
    },
    {
      path: '/demo-filter',
      name: 'olfilter',
      component: olfilter
    },
    {
      path: '/demo-draw',
      name: 'oldraw',
      component: oldraw
    },
    {
      path: '/demo-select',
      name: 'select',
      component: select
    }
  ]
})
